﻿function checkLogin(){
    var userName=$(".tbUserName");
    var password=$(".tbPassword");
    var vcode=$(".tbVcode");
    if($.trim(userName.val()).length==0){
        alert("填写用户名");
        userName.focus();
        return false;
    }
    if($.trim(password.val()).length==0){
        alert("填写登陆密码");
        password.focus();
        return false;
    }
    if($.trim(vcode.val()).length==0){
        alert("填写验证码");
        vcode.focus();
        return false;
    }
    //$(".btnLogin").attr("disabled",true);
}